package com.cpi.cornpp.creditlinebalance.view;

import com.cpi.cornpp.creditline.view.CreditLineView;

public class CreditLineBalanceView {
	
	private CreditLineView creditLine;
	
	private double balance = 0.0;
	
	private double newBalance = 0.0;

	private double available = 0.0;
		
	private int monthlyPeriodId;
	
	private boolean balanceEmpty;

	private String label;
	
	private boolean monthlyPeriodApplied;
	
	private String overDrawn;	
	
	public static final String OVERDRAWN_CREDIT = "CREDIT";
	
	public static final String OVERDRAWN_LIMIT = "LIMIT";
	
	public double getNewBalance() {
		return newBalance;
	}

	public void setNewBalance(double newBalance) {
		this.newBalance = newBalance;
	}
	
	public CreditLineBalanceView() {
		creditLine = new CreditLineView();
	}

	public CreditLineView getCreditLine() {
		return creditLine;
	}

	public void setCreditLine(CreditLineView creditLineView) {
		this.creditLine = creditLineView;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double amount) {
		this.balance = amount;
	}

	public boolean isBalanceEmpty() {
		return balanceEmpty;
	}

	public void setBalanceEmpty(boolean balanceEmpty) {
		this.balanceEmpty = balanceEmpty;
	}

	public int getMonthlyPeriodId() {
		return monthlyPeriodId;
	}

	public void setMonthlyPeriodId(int monthlyPeriodId) {
		this.monthlyPeriodId = monthlyPeriodId;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String periodLabel) {
		this.label = periodLabel;
	}

	public double getAvailable() {
		return available;
	}

	public void setAvailable(double available) {
		this.available = available;
	}

	public boolean isMonthlyPeriodApplied() {
		return monthlyPeriodApplied;
	}

	public void setMonthlyPeriodApplied(boolean monthlyPeriodApplied) {
		this.monthlyPeriodApplied = monthlyPeriodApplied;
	}

	public String getOverDrawn() {
		return overDrawn;
	}

	public void setOverDrawn(String overDrawn) {
		this.overDrawn = overDrawn;
	}

	
	
}
